package com.common.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.common.domain.entity.Leave;
import com.common.domain.entity.ResponseResult;
import com.common.domain.entity.RoleMenu;

/**
* @author pc
* @description 针对表【sys_role_menu(角色和菜单关联表)】的数据库操作Service
* @createDate 2023-02-07 12:19:15
*/
public interface LeaveService extends IService<Leave> {

    ResponseResult allLeaveList(Integer pageNum, Integer pageSize, Long userId, String startTime,String endTime, String type);

    ResponseResult updateLeaveStatus(Long id, String reason, String type);

    ResponseResult getLeaveInfoList(Integer pageNum, Integer pageSize,String status);
}
